package org.jeecg.cn.edu.scau.vm.image.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import org.jeecg.cn.edu.scau.vm.image.domain.VmImage;

@Mapper
public interface VmImageMapper extends BaseMapper<VmImage> {

    @Update("UPDATE vm_image SET status = #{status} WHERE id = #{id} ")
    void updateStatusById(@Param("id") String id, @Param("status") Integer status);


}
